﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace GameCode.Models.Admin
{
    public class GameCodeListModel:BaseModel
    {
        public string SelectCodeList { get; set; }

        public Guid ID { get; set; }
        [Display(Name = "游戏名称：")]
        public string GameName { get; set; }
        [Display(Name = "项目名称：")]
        public string ProjectName { get; set; }
        [Display(Name = "数量：")]
        public int Count { get { if (List == null) return 0; return List.Count; } }

        public List<Code> List { get; set; }
    }
}